package com.silence.springboot.vo.output;

import com.silence.springboot.dto.UserRoleJoinRoleDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@Schema(name = "AssignRolesOutput", description = "用户角色关联表")
public class AssignRolesOutput implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户角色关联表
     */
    @Schema(name = "userRoleList", description = "用户角色关联表")
    private List<UserRoleJoinRoleDto> userRoleList;

    /**
     * 权限表
     */
    @Schema(name = "roleList", description = "权限表")
    private List<RoleOutput> roleList;
}
